home *** CD-ROM | disk | FTP | other *** search
/ PC go! 2008 April / PCgo 2008-04 (DVD).iso / interface / contents / demoversionen_3846 / 13664 / files / Data1.cab / stdafx.h1 < prev    next >
Encoding:
Text File  |  2001-08-10  |  1.1 KB  |  39 lines

  1. // stdafx.h : include file for standard system include files,
  2. //      or project specific include files that are used frequently,
  3. //      but are changed infrequently
  4.  
  5. #if !defined(AFX_STDAFX_H__$$STD_AFX_GUID$$__INCLUDED_)
  6. #define AFX_STDAFX_H__$$STD_AFX_GUID$$__INCLUDED_
  7.  
  8. #if _MSC_VER > 1000
  9. #pragma once
  10. #endif // _MSC_VER > 1000
  11.  
  12. #define STRICT
  13. #ifndef _WIN32_WINNT
  14. #define _WIN32_WINNT 0x0400
  15. #endif
  16. #define _ATL_APARTMENT_THREADED
  17.  
  18. #include <afxwin.h>
  19. #include <afxdisp.h>
  20.  
  21. #include <atlbase.h>
  22. //You may derive a class from CComModule and use it if you want to override
  23. //something, but do not change the name of _Module
  24. extern CComModule _Module;
  25. #include <atlcom.h>
  26.  
  27. #define CHECK_HRESULT(hRes) {if (FAILED(hRes)) throw;}
  28. #define RELEASE(pObject) {if ((pObject) != NULL) (pObject)->Release(); pObject = NULL; }
  29.  
  30.  
  31. extern COleVariant varTrue;
  32. extern COleVariant varFalse;
  33. extern COleVariant varMissed;
  34.  
  35. //{{AFX_INSERT_LOCATION}}
  36. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  37.  
  38. #endif // !defined(AFX_STDAFX_H__$$STD_AFX_GUID$$__INCLUDED)
  39.